package com.sxj.springsourcecode.springframework.context.config;

import com.sxj.springsourcecode.springframework.context.ApplicationContext;

/**
 * @ProjectName: spring-source-code
 * @Package: com.sxj.springsourcecode.springframework.context.config
 * @ClassName: ConfigurableApplicationConext
 * @Author: sxj
 * @Description:
 * @Date: 2024/2/21 23:20
 * @Version: 1.0.0
 */
public interface ConfigurableApplicationConext extends ApplicationContext {
    /**
     * 刷新接口
     *
     */
    void refresh();

    /**
     * 注册钩子
     *
     */
    void registerShutdownHook();

    /**
     * 关闭
     *
     */
    void close();
}
